package cn.kgc.tafang.entity;

import java.io.Serializable;

/**
 * 防御塔类
 */
public class Tower implements Serializable {
    private int grand = 1;      //等级
    private int power= 50;  //攻击力
    private int distance= 200;   //攻击距离
    private int HP= 1000;     //生命值
    private int price= 200;  //升级所需价格

    public Tower(int grand, int power, int distance, int HP, int price) {
        this.grand = 1;
        this.power = 50;
        this.distance = 100;
        this.HP = 500;
        this.price = 200;
    }

    public Tower() {
    }

    public int getGrand() {
        return grand;
    }

    public void setGrand(int grand) {
        this.grand = grand;
    }

    public int getPower() {
        return power;
    }

    public void setPower(int power) {
        this.power = power;
    }

    public int getDistance() {
        return distance;
    }

    public void setDistance(int distance) {
        this.distance = distance;
    }


    public int getHP() {
        return HP;
    }

    public void setHP(int HP) {
        this.HP = HP;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }
}
